rem @echo off
set GITLAB_PROJECT=%1
echo "RUN: %~dp0 %GITLAB_PROJECT%"

rem docker run -it -v %~dp0\prjs\%GITLAB_PROJECT%:/opt/code -v %~dp0\CodeAnalysis-cust\client\config.ini:/opt/client/config.ini -v %~dp0\CodeAnalysis-cust\client\codedog.ini:/opt/client/codedog.ini -v %~dp0\pkg\tool_data:/opt/client/data --name tca-client --network host tca-client:2022 bash

rem 加入容器网络进行扫描
docker run -it -v %~dp0\prjs\%GITLAB_PROJECT%:/opt/code -v %~dp0\CodeAnalysis-cust\client\config.ini:/opt/client/config.ini -v %~dp0\CodeAnalysis-cust\client\codedog.ini:/opt/client/codedog.ini -v %~dp0\pkg\tool_data:/opt/client/data --name tca-client --network tca-net tca-client:2022 /opt/client/run.sh